 package com.gmrz.uaf.protocol.v1.processor.exception;

 import com.gmrz.uaf.common.IErrorCode;
 import com.gmrz.uaf.common.UAFException;
 import com.gmrz.uaf.common.UAFRuntimeException;

 public class AdditionUviException extends UAFRuntimeException {
     private String data;
     IErrorCode ec;
     public AdditionUviException(IErrorCode ec, String msg, String data) {
         super(msg);
         this.data = data;
         this.ec = ec;
     }
     public AdditionUviException(IErrorCode ec) {
         super();
         this.data = data;
         this.ec = ec;
     }
     public String getData(){
       return this.data;
     }

     public IErrorCode getErrorCode() {
         return ec;
     }
 }
